<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>carousel</title>
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://v3.bootcss.com/assets/css/docs.min.css">
    <style type="text/css">
    .demo {
        width: 600px;
        margin: 0 auto;
    }
    
    .demo .bs-example:nth-child(2):after {
        content: 'carousel'
    }
    </style>
</head>

<body>
    <div class="demo">
        <h2>demo</h2>
        <div class="bs-example">
            <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval=2000>
                <ol class="carousel-indicators">
                    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
                    <li data-target="#carousel-example-generic" data-slide-to="3"></li>
                </ol>
                <div class="carousel-inner" role="listbox">
                    <div class="item active">
                        <img src="http://www.wanmei.com/images/wanmei2016/20161216wm.jpg" width="100%">
                    </div>
                    <div class="item">
                        <img src="http://www.wanmei.com/images/wanmei2016/20161201pgp.jpg" width="100%">
                    </div>
                    <div class="item">
                        <img src="http://www.wanmei.com/images/wanmei2016/20161209sgcq.jpg" width="100%">
                    </div>
                    <div class="item">
                        <img src="http://www.wanmei.com/images/wanmei2014/pic/2014/jinling.jpg" width="100%">
                    </div>
                </div>
                <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                    <span class="glyphicon glyphicon-chevron-left"></span>
                    <span class="sr-only">Previous</span>
                </a>
                <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                    <span class="glyphicon glyphicon-chevron-right"></span>
                    <span class="sr-only">Next</span>
                </a>
            </div>
        </div>
    </div>
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript" src="plugins/bsTransitionEnd.js"></script>
    <script type="text/javascript" src="plugins/carousel.js"></script>
    <script type="text/javascript">
    </script>
</body>

</html>
